#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Description:
from utils.ssh import SSHClient


class OperationBase:
    def __init__(self, parse_args):
        self.mode = parse_args.mode
        self.point = parse_args.point
        self.replicas = parse_args.replicas
        self.failgroup = parse_args.failgroup
        self.ssh = SSHClient(ip=parse_args.ipaddr)